//
//  MapAnnotation.m
//  HelloMyMap
//
//  Created by xiongxunquan on 2017/1/17.
//  Copyright © 2017年 Joe Chen. All rights reserved.
//

#import "MapAnnotation.h"

@interface MapAnnotation () {
    CLLocationCoordinate2D _coordinate;
}

@end

@implementation MapAnnotation

- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate {
    if (self = [super init]) {
        _coordinate = coordinate;
    }
    return self;
}

- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate {
    _coordinate = newCoordinate;
}

- (CLLocationCoordinate2D)coordinate {
    return _coordinate;
}

@end
